package com.yx.auth.repo; import com.yx.auth.domain.*; import org.springframework.data.jpa.repository.*; import java.util.*;
public interface RoleRepo extends JpaRepository<Role,Long>{ Optional<Role> findByCode(String code); }